﻿namespace WeWork.Model
{
    public class ChatRevoke : MsgChatRoomBase
    {
        /*
        {
            "msgid":"15775510700152506326_1603875615",
            "action":"recall",
            "from":"kenshin",
            "tolist":["wmUu0zBgAALV7ZymkcMyxvbTe8YdWxxA"],
            "roomid":"",
            "msgtime":1603875615723,
            "msgtype":"revoke",
            "revoke":{
                "pre_msgid":"14822339130656386894_1603875600"
            }
        }
        */
        /// <summary>
        /// 消息内容
        /// </summary>
        public RevokeInfo revoke { set; get; }
    }

    public class RevokeInfo
    {
        /// <summary>
        /// 标识撤回的原消息的msgid。String类型
        /// </summary>
        public string pre_msgid { set; get; }
    }
}
